import request from "@/utils/request.js";
import utils from "@/utils/utils.js"
export default{
	addrList(params) {
		return request({
			url: 'system/dz/list',
			method: 'get',
			data: params
		})
	},
	add(params) {
		return request({
			url: 'system/dz',
			method: 'post',
			data: params
		})
	},
	edit(params) {
		return request({
			url: 'system/dz',
			method: 'put',
			data: params
		})
	},
	use(params) {
		return request({
			url: 'system/dz',
			method: 'put',
			data: params
		})
	},
	del(params) {
		return request({
			url: 'system/dz/' + params.id,
			method: 'delete',
			data: params
		})
	},
}